package hm2;

public class Vehicle {
    int wheels;
    double weight;
    public Vehicle(int wheels,double weight){
        this.wheels = wheels;
        this.weight = weight;
    }

    public void show(){
        System.out.printf("车轮:%d,车重:%.2f,",wheels,weight);
    }
}
